class ChangeHabtm2HasManyThrough < ActiveRecord::Migration
  def up
  	add_column :hospedagems_servicos, :id, :primary_key
  	rename_table :hospedagems_servicos, :requisicaos
  end

  def down
  	rename_table :requisicaos, :hospedagems_servicos
  	remove_column :hospedagems_servicos, :id
  end
end
